package test;

import org.springframework.stereotype.Component;

@Component("bus")
public class Bus implements Car {
    public void drive() {
        System.out.println("Bus is driving");
    }
}
